package com.wish.g01.base.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.wish.g01.base.entity.CwPaymentPlan;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;

@Data
public class TCwPaymentPlanDto extends CwPaymentPlan implements Serializable {
    /*分页*/
    @TableField(exist = false)
    private Integer pageNum=1;
    @TableField(exist = false)
    private Integer pageSize=2;
    /*返回语句*/
    @TableField(exist = false)
    private String houseName;
    /*查询条件*/
    @TableField(exist = false)
    private Integer state;

    /*@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date begintime;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endtime;
*/
    @TableField(exist = false)
    private ArrayList<CostType> costTypes;
}
